package com.cungmua.app.model.response;

import com.cungmua.app.model.Bonus;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Created by kelvin.nguyen on 7/1/14.
 */
public class BonusResponse extends CungMuaResponse {
    private Bonus bonus;
    public BonusResponse(@JsonProperty("Msg") String message, @JsonProperty("Code") int code) {
        super(message, code);
    }

    @JsonProperty("Data")
    public void setData(Bonus bonus) {
        this.bonus = bonus;
    }

    @Override
    public Bonus getData() {
        return bonus;
    }
}

